package com.zdb.demo.design.pattern.structural.proxy;

public class OrderServiceImpl implements IOrderService {

    private IOrderDao orderDao;

    public OrderServiceImpl(IOrderDao orderDao) {
        this.orderDao = orderDao;
    }

    @Override
    public int saveOrder(Order order) {
        return orderDao.saveOrder(order);
    }


}
